﻿using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;
using WebApiV1.Data.Entity;
using WebApiV1.Domain.Enum;

namespace WebApiV1.Inteface.Log
{
    //日志
    public interface ILog
    {
        Logs GetLogById(int id);

        void Insert(Logs log);

        void Delete(Logs log);

        IEnumerable<Logs> MultiQuery(DateTime beginTime, DateTime endTime, LogsLevel logLevel, int userId=0);

        //清除日志
        void Clear();
    }
}
